package com.sl.boot.admindemo.domain.drugOrder.entity;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;
import java.io.Serializable;

/**
 * (DrugOrder)实体类
 */
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class DrugOrder implements Serializable {
    private static final long serialVersionUID = -31238198446532865L;

    private Integer id;
    /**
     * 药名
     */
    private String drugName;
    /**
     * 患者名
     */
    private String patientName;

    private Double price;

    private Date createTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public DrugOrder(Integer id, String drugName, Double price, Date createTime) {
        this.id = id;
        this.drugName = drugName;
        this.price = price;
        this.createTime = createTime;
    }
}

